package com.zit.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Term entity. @author MyEclipse Persistence Tools
 */

public class Term implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Date createTime;
	private Integer isDelete;
	private String remark; //预备字段
	private Set classeses = new HashSet(0);
	private Set courses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Term() {
	}

	/** minimal constructor */
	public Term(String name) {
		this.name = name;
	}
	
	/** minimal constructor */
	public Term(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public Term(String name, Date createTime, Integer isDelete, String remark,
			Set classeses, Set courses) {
		this.name = name;
		this.createTime = createTime;
		this.isDelete = isDelete;
		this.remark = remark;
		this.classeses = classeses;
		this.courses = courses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set getClasseses() {
		return this.classeses;
	}

	public void setClasseses(Set classeses) {
		this.classeses = classeses;
	}

	public Set getCourses() {
		return this.courses;
	}

	public void setCourses(Set courses) {
		this.courses = courses;
	}

}